﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.ServiceModel.Activation;
using System.ServiceModel;
using Microsoft.IdentityModel.Tokens;
using Microsoft.IdentityModel.Tokens.Saml2;
using Microsoft.IdentityModel.Tokens.Saml11;
using System.IdentityModel.Selectors;

namespace Veracruz.ServiceModel.Facebook
{
    public class IdentityModelServiceHostFactory : ServiceHostFactory
    {
        public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses)
        {
            ServiceHostBase l_host = base.CreateServiceHost(constructorString, baseAddresses);
            ExtensibleServiceCredentials.ConfigureServiceHost(l_host);
            return l_host;
        }
    }
}
